#ifndef SRVBROADCAST_H
#define SRVBROADCAST_H
#include "baseptc.h"
#include "socket/protocol/gps.h"
#include <string.h>
namespace protocal{
class SrvBroadcast : public BasePtc
{
public:
    SrvBroadcast()
    {
        this->source = (enum SOURCE)(SERVER);
        this->srv_command = (enum SRVCOMMAND)(SRV_BROADCAST);
        this->size = sizeof(SrvBroadcast);
    }
public:
    char client_id[10];

    short align;
    GPS start_point;
    GPS terminal_point;

    short timeout;  //the longest time the passenger can wait for
    short honesty_degree;



};
}
#endif // SRVBROADCAST_H
